package com.kandinfo.base.security.repository;

import org.springframework.data.jpa.repository.Query;

import com.kandinfo.base.common.repository.BaseRepository;
import com.kandinfo.base.security.domain.UserInfo;

public interface UserInfoRepository extends BaseRepository<UserInfo, Long> {
    
    @Query(value = "select * from user_info where user_id = ?1", nativeQuery = true)
    UserInfo findByUserId(Long userId);
    
}
